<?php
namespace App\Model;
use think\Model;

class User extends Model{
    protected   $connection = 'demo';
}